package com.aftersale.demo.service;

import com.aftersale.demo.entity.Problem;
import com.aftersale.demo.entity.Result;
import com.aliyun.oss.OSSClient;
import com.baomidou.mybatisplus.extension.service.IService;

/**
*@Author  空
*@Date    2023/10/23 20:17
*@Desc
*/
public interface ProblemService extends IService<Problem> {

    Result updateProblemState(int problemId, String state);

    Result updateProblemEvaluate(int problemId, Integer evaluate);

    Result deleteProblem(int problemId);

    Result addProblem(Problem problem);

    Result getProblem(int userId, Integer pageNum, Integer pageSize);

    Result updateProblem(Problem problem);

    Result problems(int userId,int roleId, Integer pageNum, Integer pageSize);

    Result selectProblem(int userId, String name,Integer pageNum, Integer pageSize);
}
